<!-- 新增按钮 -->
<template>
  <view class="bottom-button" @click="onClick">
    <view class="inner-btn">
      {{
        text
      }}
    </view>
  </view>
</template>

<script>
  export default {
    props: {
      text: {
        type: String,
        default: ''
      }
    },
    methods: {
      onClick(e) {
        this.$emit('click')
      }
    }
  }
</script>

<style lang="scss" scoped>
  .bottom-button {
    height: 104rpx;
    background: #FFFFFF;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
    display: flex;
    align-items: center;
    justify-content: center;

    .inner-btn {
      width: 640rpx;
      height: 80rpx;
      background: #2488F5;
      border-radius: 40rpx 40rpx 40rpx 40rpx;
      border: 1rpx solid #306BD9;
      font-weight: 500;
      font-size: 30rpx;
      color: #F9F9F9;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }
</style>